package com.chen.seckill.service;

import com.chen.seckill.error.BusinessException;
import com.chen.seckill.service.bo.OrderBO;

public interface OrderService {
    // 通过前端url上传来秒杀活动id,然后下单接口内校验对应id是否对应商品且活动已开始
    OrderBO createOrder(Integer userId, Integer itemId, Integer promoId, Integer amount) throws BusinessException;
}
